



import request from './request.js';

export default{
    getlist(query){
        return request({
            url: BASE+'/visitor/ownerCheckPending',
            method: 'post',
            data:query
        })
    },
    check(query){
        return request({
            url: BASE+'/visitor/receiveVisit',
            method: 'post',
            data:query
        })
    },
    getVillage(query){
        return request({
            url: BASE+'/community/queryAllCommunity',
            method: 'get'
        })
    }
}